public class testclass
{
	public static void main(String[] args)
	{
		int zaehler  = 10;
		int nenner = 0;
		
		try
		{
		
			System.out.println(zaehler+" / "+nenner+" = "+zaehler/nenner);
		}
		catch (ArithmeticException ex)
		{
			ex.printStackTrace();
			System.out.println("Exception catched");
		}
	
	}
}